package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Customer;
import cn.wolfcode.crm.domain.Employee;
import cn.wolfcode.crm.query.PageResult;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface ICustomerService {
    //增加的方法
    void save(Customer customer);

    void update(Customer customer);

    //根据id查询部门
    Customer get(Long id);

    //查询所有的部门
    List<Customer> listAll();


    PageResult query(QueryObject qo);

    //根据用户指定的角色编码查询员工
    List<Employee> listAllSellers(String... sns);

    void updateStatus(Long customerId, Integer status);
}
